package com.xnyzc.lhy.mis.service.cms.vehicle;


import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.param.cms.vehicle.CmsOaVehicleImport;
import com.xnyzc.lhy.mis.entity.vehicle.OaVehicleImportRecord;

import java.util.List;

/**
 * @Description 车辆导入
 * @Author wangshuo
 * @Date 2019-12-04 15:48
 **/
public interface ICmsVehicleImportService {

    /**
     * 导入
     * @param sysUserId 后台用户
     * @param tag 租户
     * @param cmsVehicleImportList 表格数据
     * @return
     */
    String vehicleImport(Long sysUserId, String tag, String clientId, List<CmsOaVehicleImport> cmsVehicleImportList);

    /**
     * 获取下载模板数据
     *
     * @return
     */
    Rv getVehicleDownloadTemplate();

    /**
     * 添加车辆导入记录
     * */
    Rv addVehicleImportRecord(OaVehicleImportRecord vehicleImportRecord);

    /**
     * 车辆导入历史
     * */
    Rv getQueryVehicleImportRecord(Integer size,Integer page);

}
